$a="abc","cde","efg"

if ($a -contains "cde") {
    <# Action to perform if the condition is true #>
    write-host "The array contains 'cde'"
}

